{include file="header.tpl" title="Them moi PAR_SHFEETYPE"}

<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="19%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  
	<tr>
	  <td nowrap="nowrap">{$lbl_FEECODE}</td>
	  <td width="27%" align="left"><span style="color:#FF0000">
	    <input name="FEECODE" id="FEECODE" type="text" style="background:{$colorFEECODE}" value="{$FEECODE}" size="25" maxlength="3" onkeypress="return numberOnly(event);" {if $activefield eq 'enabled'} readonly="readonly" {/if} />
	  *
	  
	  <input id="replacement_find" type="submit" name="find" value="    "  height="15" {if $activefield eq 'enabled'} disabled="disabled" {/if}/>
	  </span></td>
	  <td width="26%" align="left">{$lbl_FEETYPE}</td>
	  <td width="28%" align="left"><span style="color:#FF0000"> 
	    <select id="FEETYPE" name="FEETYPE" size="1"  style="background:{$colorFEETYPE};" {if $activefield eq 'enabled'} disabled="disabled" {/if} >
	      
	      {foreach from=$cbo_FEETYPE key=k item=v}  
        
	      <option value="{$k}" {if $FEETYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	      
	     {/foreach}  
      
        </select>
        <input type="hidden" value="{$FEETYPE}" id="FEETYPEtmp" name="FEETYPEtmp" />
      *</span></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_GRPCODE}</td>
	  <td align="left"><span style="color:#FF0000">
	    <select id="GRPCODE" name="GRPCODE" size="1"  style="background:{$colorGRPCODE};" {if $activefield eq 'enabled'} disabled="disabled" {/if} onchange="document.getElementById('findcbo').click();" >
          <option value=""
          ></option>
	      
        {foreach from=$cbo_GRPCODE key=k item=v}  
        
	      <option value="{$k}" {if $GRPCODE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	      
        {/foreach}  
       
        </select>
	    <input type="hidden" value="{$GRPCODE}" id="GRPCODEtmp" name="GRPCODEtmp" />
      *</span></td>
	  <td align="left">{$lbl_PRDCODE}</td>
	  <td align="left"><span style="color:#FF0000">
	    <select id="PRDCODE" name="PRDCODE" size="1"  style="background:{$colorPRDCODE};" {if $activefield eq 'enabled'}  disabled="disabled" {/if} >
	    {foreach from=$cbo_PRDCODE key=k item=v}  
        <option value="{$k}" {if $PRDCODE eq $k} selected="selected" {/if}>{$k}</option>
	    {/foreach}  
      
	    
        </select>
        <input type="hidden" value="{$PRDCODE}" id="PRDCODEtmp" name="PRDCODEtmp" />
*</span></td>
    </tr>
	
	
	<tr>
	  <td nowrap="nowrap">{$lbl_VNNAME}</td>
	  <td align="left"><input name="VNNAME" id="VNNAME" type="text" style="background:{$colorVNNAME}" value="{$VNNAME}" size="50" maxlength="50"/></td>
	  <td align="left">{$lbl_ENNAME}</td>
	  <td align="left"><input name="ENNAME" id="ENNAME" type="text" style="background:{$colorENNAME}" value="{$ENNAME}" size="50" maxlength="50"/></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_FEEINI}</td>
	  <td align="left"><span style="color:#FF0000">
	    <input name="FEEINI" id="FEEINI" type="text" style="background:{$colorFEEINI}; text-align:right" align="right" value="{$FEEINI}" size="25" maxlength="12" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,18,3)"/>
	  </span></td>
      <td align="left">{$lbl_FEEMIN}</td>
      <td align="left"><span style="color:#FF0000">
        <input name="FEEMIN" id="FEEMIN" type="text" style="background:{$colorFEEMIN}; text-align:right" value="{$FEEMIN}" size="25" maxlength="12" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,18,3)"/>
      </span></td>
	</tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_FEEMAX}</td>
	  <td align="left"><input name="FEEMAX" id="FEEMAX" type="text" style="background:{$colorFEEMAX};text-align:right" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,18,3)" value="{$FEEMAX}" size="25" maxlength="20"/></td>
      <td nowrap="nowrap">{$lbl_DATECREA}</td>
      <td align="left"><input name="DATECREA" type="text" id="DATECREA" style="background:{$colorDATECREA};text-align:right" value="{$DATECREA}" size="25" readonly="readonly"/></td>
	</tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_TELLER}</td>
	  <td align="left"><input name="TELLER" id="TELLER" type="text" style="background:{$colorTELLER};text-align:left" value="{$TELLER}" size="25" maxlength="20"/></td>
      <td nowrap="nowrap">{$lbl_VAT}</td>
      <td align="left"><span style="color:#FF0000">
        <input name="VAT" id="VAT" type="text" style="background:{$colorVAT};text-align:right" value="{$VAT}" size="25" maxlength="20" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,18,2)"/>
      </span></td>
	</tr>
	<tr>
  	<td nowrap="nowrap">{$lbl_INCVAT}</td>
    <td align="left"><select id="INCVAT" name="INCVAT" size="1"  style="background:{$colorINCVAT};" >
      <option value=""
      ></option>
      
	    {foreach from=$cbo_INCVAT key=k item=v}  
      
      <option value="{$k}" {if $INCVAT eq $k} selected="selected" {/if}>{$k} - {$v}</option>
      
	    {/foreach}  
      
    
    </select>
      <input type="hidden" value="{$INCVAT}" id="INCVATtmp" name="INCVATtmp" /></td>
    <td align="left">{$lbl_VALID}</td>
    <td align="left"><select id="VALID" name="VALID" size="1" style="background:{$colorVALID};">
 		{foreach from=$cbo_VALID key=k item=v}  
 <option value="{$k}" {if $VALID eq $k} selected="selected" {/if}>{$k} - {$v}</option>
{/foreach}  
    </select>   </td>
	</tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_FEEACCT}</td>
	  <td align="left"><span style="color:#FF0000">
	    <input name="FEEACCT" id="FEEACCT" type="text" style="background:{$colorFEEACCT};text-align:right" value="{$FEEACCT}" size="25" maxlength="20"onkeypress="return numberOnly(event);"/>
	  </span></td>
	  <td align="left">{$lbl_VATACCT}</td>
	  <td align="left"><span style="color:#FF0000">
	    <input name="VATACCT" id="VATACCT" type="text" style="background:{$colorVATACCT};text-align:right" value="{$VATACCT}" size="25" maxlength="20" onkeypress="return numberOnly(event);"/>
	  </span></td>
    </tr>
	<tr>
	  <td>{$lbl_GRPCODE}</td>
	  <td align="left"><select id="select" name="select" size="1"  style="background:{$colorGRPCODE};" onchan"document.getElementById('findcbo').click();"  disabled="disabled">
        <option value=""
	    </option>
	    
	    {foreach from=$cbo_GRPCODE key=k item=v}  
        
	    <option value="{$k}" {if $GRPCODE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    
	    {/foreach}  
      
      </select>
        <span style="color:#FF0000"> *</span></td>
	  <td align="left">{$lbl_PRDCODE}</td>
	  <td align="left"><span style="color:#FF0000">
	    <select id="select2" name="select2" size="1"  style="background:{$colorPRDCODE};" disabled="disabled">
	      
		{foreach from=$cbo_PRDCODE key=k item=v}  
         
	      <option value="{$k}" {if $PRDCODE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	      
	    {/foreach}  
      
        </select>
	  *</span></td>
    </tr>
	<tr>
	  <td>{$lbl_CURCODE}</td>
	  <td align="left"><select id="CURCODE" name="CURCODE" size="1" style="background:{$colorCURCODE};">
	    <option value=""</option>
	    {foreach from=$cbo_CURCODE key=k item=v}  
        
	    <option value="{$k}" {if $CURCODE eq $k} selected="selected" {/if}>{$k}</option>
	    
	    {/foreach}  
      
	    </select>
	    <input type="hidden" value="{$CURCODE}" id="CURCODEtmp" name="CURCODEtmp" /></td>
	  <td align="left">{$lbl_FEECAL}</td>
	  <td align="left"><select id="FEECAL" name="FEECAL" size="1" style="background:{$colorFEECAL};" disabled="disabled">
	    
 		{foreach from=$cbo_FEECAL key=k item=v}  
 
	    <option value="{$k}" {if $FEECAL eq $k} selected="selected" {/if}>{$k} - {$v}</option>
{/foreach}  
</select>
      <input type="hidden" value="{$FEECAL}" id="FEECALtmp" name="FEECALtmp" /></td>
    </tr>
	<tr>
	  <td>{$lbl_DEPFEEINI}</td>
	  <td align="left"><span style="color:#FF0000">
	    <input name="DEPFEEINI" id="DEPFEEINI" type="text" style="background:{$colorDEPFEEINI};text-align:right" value="{$DEPFEEINI}" size="25" maxlength="20" onblur="formatNumber2(this,this.value,18,3)" onkeypress="return numberOnly(event);"/>
	  </span></td>
	  <td align="left">{$lbl_DEPFEEMIN}</td>
	  <td align="left"><span style="color:#FF0000">
	    <input name="DEPFEEMIN" id="DEPFEEMIN" type="text" style="background:{$colorDEPFEEMIN};text-align:right" value="{$DEPFEEMIN}" size="25" maxlength="20" onblur="formatNumber2(this,this.value,18,3)" onkeypress="return numberOnly(event);"/>
	  </span></td>
    </tr>
	
	
	
	
	
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
  <td colspan="4" align="right"><input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'FEECODE-FEETYPE-GRPCODE-PRDCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4" align="right">
  
      <div align="left">
        <input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
        <input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
        <input type="submit" name="findcbo" id="findcbo" style="visibility:hidden" {if $activefield eq 'disabled' }disabled="disabled" {/if} />
      </div></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
